/*
	PandaForum: PHP Forum Engine
	
	Jesse Gill, 0108377707
*/

function members_users_refreshlist(searchterm, page)
{
	var httpObj = createHTTPObject();
	
	if (httpObj == false)
	{
		return;
	}
	
	httpObj.onreadystatechange=function()
	{
		if(httpObj.readyState==4)
		{
			document.getElementById('members').innerHTML = httpObj.responseText;
		}
	}
	
	var url = "src/ajax_retrieve/ar_members_userlist.php?searchterm=" + searchterm;
	url += "&page=" + page;
	
	httpObj.open("GET", url, true);
	httpObj.send(null);
}
